package com.xc.quickstart.common.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MqListener {

    String groupId();

    String topic();

    String expression() default "*";

    int consumeThreadNums() default 20;
}
